package com.lyf.service.user;

import com.lyf.pojo.AddressBook;

import java.util.List;

public interface AddressBookService {
    List<AddressBook> list();

    List<AddressBook> getDefault();

    void save(AddressBook addressBook);

    void setDefault(AddressBook addressBook);

    List<AddressBook> getById(Long id);

    void update(AddressBook addressBook);

    void delete(Long id);
}
